<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
    <form method="post" th:action="@{/upload/multipart}" enctype="multipart/form-data">
        <input type="file" name="photo" value="请选择上传的文件"/>
        <input type="submit" value="提交"/>
    </form>
</body>
</html>